package day3;

import java.util.HashSet;
import java.util.Set;

/**
 * @author oldliu
 * @since 1.0
 */
public class SetTest2 {
    public static void main(String[] args) {
        Set s=new HashSet();
        s.add("蚌埠原石");
        s.add(new School("合肥科海","合肥",7,4));
        s.add(new School("杭州西湖中心","杭州",5,4));
        s.add(new School("南京中博","南京",27,14));
        s.add(new School("蚌埠原石","蚌埠",9,9));
        s.add(new School("蚌埠原石","合肥",9,9));
        System.out.println(s.size());
        for(Object o:s){
            System.out.println(o);
        }
    }
}
